package com.kmb.commons.dto;

/**
 * @PackgeName: com.kmb.boot.commons.dto
 * @ClassName: Page
 * @Author: Administrator
 * Date: 2019/12/8 0008 14:56
 * project name: spring-boot-alibaba-samples
 * @Version:
 * @Description:
 */
public class Page implements java.io.Serializable{
    private static final long serialVersionUID = 4594071922809227379L;
    public static final int DEFAULT_PAGE = 1;
    public static final int DEFAULT_PAGE_SIZE = 20;
    private int pageNo;
    private int pageItems;
    private int totalRows;
    private String sortname;
    private String sortorder;
    public Page() {}

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageItems() {
        return pageItems;
    }

    public void setPageItems(int pageItems) {
        this.pageItems = pageItems;
    }

    public int getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(int totalRows) {
        this.totalRows = totalRows;
    }

    public String getSortname() {
        return sortname;
    }

    public void setSortname(String sortname) {
        this.sortname = sortname;
    }

    public String getSortorder() {
        return sortorder;
    }

    public void setSortorder(String sortorder) {
        this.sortorder = sortorder;
    }
}
